

var mMap = new geoMap;

function featureStyle()
{
    this.style_index = ""; //样式索引
}
function pointStyle(){ //点样式
    featureStyle.call(this);//继承自featureStyle
    //this.symbol = ""
    this.symbol_height = 1;
    this.symbol_width = 1;  // 可用于分级表达
    this.symbol_opacity = 0; // 符号透明度
    this.symbol_hidden = false; // 符号是否隐藏，用于综合、冲突处理
}
function polyStyle(){  //线、面样式
    featureStyle.call(this);//继承自featureStyle
    this.field = ""
    //this.symbol = ""
    this.filled = false; // 填充
    this.opacity = 0;  // 透明度
    this.strokeColor = ""
    this.strokeWidth = ""
    this.fillColor = ""
}
function geoLayer()
{
    this.layer_name = "" //图层名
    this.bound = new Array //图层范围
    this.features = new Array //图层所包含的要素数组
    this.method = "" //图层绘制形式
    this.layerIndex = 0; //图层在地图的位置
    this.field = "" // 用于分级分类样式绘制的字段
    this.source = "" // 图层数据url
    this.style_index = "" // 图层样式索引
}
function geoPt()
{  
    this.screen_x = 0
    this.screen_y = 0
    this.screen_z = 0
    this.x = 0
    this.y = 0
    this.z = 0
}
function geoFeature()
{
    this.feature_type = ""
    this.feature_style = null
    this.feature_properties = null
    this.geometry = new Array
}
function geoMap()
{
    this.name = "";
    this.bounds = new Array;
    this.geoLayers = new Array;
}